package cn.liontalk.service;

import cn.liontalk.component.FeignServiceHiHystric;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author ZhouZhe
 * @version 1.0
 * @description
 * @date 2018-12-02 17:13
 **/
@FeignClient(value = "eureka-client",fallback = FeignServiceHiHystric.class)
public interface FeignHystrixService {


    @GetMapping(value = "/hi")
    String testFeignHystrixService();

}

